From: Keir Fraser Date: Thu, 8 Feb 2007 17:46:14 +0000 (+0000) Subject: Use printk log-level limiting even during Xen boot. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15345 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=821a81792e9cf6dbbe79cee253d2f022b63078e7;p=xen.git Use printk log-level limiting even during Xen boot. Signed-off-by: Alex Williamson --- diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index 7eea5b2b4e..cfc7e98a17 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -102,7 +102,7 @@ static void parse_guest_loglvl(char *s); custom_param("loglvl", parse_loglvl); custom_param("guest_loglvl", parse_guest_loglvl); -static atomic_t print_everything = ATOMIC_INIT(1); +static atomic_t print_everything = ATOMIC_INIT(0); #define ___parse_loglvl(s, ps, lvlstr, lvlnum) \ if ( !strncmp((s), (lvlstr), strlen(lvlstr)) ) { \ @@ -569,9 +569,6 @@ void console_endboot(void) /* Serial input is directed to DOM0 by default. */ switch_serial_input(); - - /* Now we implement the logging thresholds. */ - console_end_log_everything(); } void console_start_log_everything(void)